package com.ayf.payment.game.api.service.platform;

import com.ayf.payment.game.api.dto.platform.AdminUserDTO;
import com.ayf.payment.game.api.dto.platform.criteria.AdminUserCriteria;
import com.ayf.payment.game.api.dto.platform.criteria.AdminUserPageCriteria;
import com.ayf.payment.game.api.entity.platform.AdminUser;
import com.github.pagehelper.PageInfo;

public interface AdminUserService{

    public AdminUser login(AdminUserCriteria criteria);

    public void insert(AdminUserCriteria criteria, AdminUserDTO adminUserDTO);

    public void del(AdminUser adminUser);

    public void update(AdminUserCriteria adminUser, AdminUserDTO adminUserDTO);

    public AdminUser selectOne(AdminUser adminUser);

    public AdminUserDTO selectOneDTO(AdminUser adminUser);

    public PageInfo<AdminUserDTO> selectAllPage(AdminUserPageCriteria criteria);

    void updatePWD(AdminUserCriteria criteria);
}
